<?php $this->context->layout = 'fullout'; ?>
<div style="display: flex">
    <?=$this->params['leftHtml']?>
    <div  style="width: 89.7%">
        <div class="ui-layout-center">
            <div class="container-div">
                <div class="row">
                    <div class="col-sm-12 select-table table-striped">
                        <table id="bootstrap-table"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<?php $this->beginBlock('script'); ?>
<script>
    getUserList();
    console.log(bootUrl.reviewUrl)
    function getUserList() {
        bootUrl.url = "<?=\yii\helpers\Url::toRoute('evaluate')?>"
        var options = {
            modalName: "活动点赞",
            sortName:'create_time',
            sortOrder: "desc",
            columns: [
                {field: 'id', title: 'ID', align: 'center', sortable: true,visible: false},
                {field: 'user', align: 'center', title: '微信用户'},
                {field: 'create_time', title: '点赞时间', align: 'center', sortable: true},
                {
                    title: '操作',
                    align: 'center',
                    formatter: function(value, row, index) {
                        return '<?=$this->render("/iframe",["name"=>"formopbtn","extend"=>["type"=>["delete"],"rowId"=>"row.id"]])?>';
                    }
                }
            ],
        };
        $.table.init(options);
    }
</script>
<?php $this->endBlock(); ?>

